package LinkHashSet;

import java.util.LinkedHashSet;

public class LinkHashSetDemo {
    public static void main(String[] args) {

        LinkedHashSet<String> linkedhashset=new LinkedHashSet<String>();
        linkedhashset.add("hello");
        linkedhashset.add("world");
        linkedhashset.add("java");
        for(String s:linkedhashset){
            System.out.println(s);
        }
    }
}
